<template>
	<view>
		<view class="order-content">
			<view>{{assessInfo['考核项目']}}</view>
			<view>
		
				<view class="detail-title">
					<text>考核信息</text>
				</view>
				<view class="content-item">
					<text class="item-name">考核要求：</text>
					<view class="right-content">{{ recordInfo['考核要求']}}</view>
				</view>
				<view class="content-item">
					<text class="item-name">分数上限：</text>
					<view class="right-content">{{ recordInfo['分数上限']}}</view>
				</view>
				<view class="content-item">
					<text class="item-name">考核得分：</text>
					<view class="right-content">{{ recordInfo['得分'] }}</view>
				</view>
				<view class="content-item">
					<text class="item-name">记录人员：</text>
					<view class="right-content">{{ recordInfo['记录人员']}}</view>
				</view>
				<view class="content-item">
					<text class="item-name">记录时间：</text>
					<view class="right-content">{{ recordInfo['记录时间'] | formatTime }}</view>
				</view>
				
			</view>
		</view>
		<image-viewer :marginNum="12" :imageWidth="220" v-model="recordInfo['附件']"></image-viewer>
	</view>
</template>

<script>
	import imageViewer from '@/myComponents/imageViewer.vue'
	export default {
		components: {
			imageViewer
		},
		data() {
			return {
				recordInfo: {}
			}
		},
		onLoad(options) {
			this.recordInfo = {...JSON.parse(options.info), ...JSON.parse(options.item)}
			console.log('info', JSON.parse(options.info))
			console.log(JSON.parse(options.item))
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
@import '../../style/info.scss';
.order-content {
	margin-bottom: 0;
}
</style>
